package com.itbaiyun.usercenter.model.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户关注关系表
 * @TableName user_follow
 */
@TableName(value ="user_follow")
@Data
public class UserFollow implements Serializable {
    /**
     * 用户关系表id
     */
    @TableId(type = IdType.AUTO)
    private Long uf_id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 关注人id
     */
    private Long followId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 是否删除 
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}